package com.itheima.demo01;

public class MyThread extends Thread{
    @Override
    public void run() {
        //这里书写需要线程执行的代码
        for (int i = 0; i < 100; i++) {
            System.out.println(getName() + "Hello World");
        }

    }
}
